package pers.mihao.quickstream.publish.strategy.filter;

import pers.mihao.quickstream.publish.strategy.context.ChooseContext;
import pers.mihao.quickstream.publish.strategy.dto.ChooseAccount;
import pers.mihao.quickstream.publish.strategy.dto.ChooseAccountScore;

import java.util.List;

/**
 * @author mihao
 * @since 2024/11/21
 */
public interface AccountFilter {

    default boolean isMatch(ChooseContext chooseContext) {
        return true;
    }

    List<ChooseAccount> accountFilter(ChooseContext chooseContext, List<ChooseAccountScore> accountScores);

}
